#if !defined(GLOBAL_H)
#define GLOBAL_H
#include <iostream>

namespace XCY
{
    const static char CHEER[2] = {'O', 'X'};

    struct CheerPoint
    {
        int x;
        int y;
        CheerPoint():x(0),y(0){}
    };

    struct Player
    {
        CheerPoint point;
        int value;
    };

    struct NetPacket
    {
        CheerPoint point;
        int nCurrent_player;
        int nWiner;
        int nRound;
        int nFirstPlayrt;
    };

    struct PrepareStart
    {
        CheerPoint point;
        int nIndex;
        int nCurIndex;
    };
};

#endif // GLOBAL_H
